package com.gt.quality.base.pojo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 万里悲秋常作客,百年多病独登台
 * 级联框数据类型
 *
 * @author : makeJava
 */
@Data
public class LayGradleSelector implements Serializable {

    /**
     * 选中值
     */
    @JsonSerialize(using= ToStringSerializer.class)
    private Long value;

    /**
     * 选中值
     */
    @JsonSerialize(using= ToStringSerializer.class)
    private Long parentValue;

    /**
     * 选中描述
     */
    private String label;

    /**
     * 子节点
     */
    private List<LayGradleSelector> children;
}
